package com.shenbao.service.impl;

import com.shenbao.beans.ProjectApply;
import com.shenbao.dao.ProjectApplyMapper;
import com.shenbao.service.IProjectApplyService;
import com.shenbao.vo.ProjectApplyVO;

import java.util.List;
import java.util.Map;
import javax.annotation.Resource;
import org.springframework.stereotype.Service;

@Service("ProjectApplyServiceImpl")
public class ProjectApplyServiceImpl implements IProjectApplyService {
    @Resource
    public ProjectApplyMapper projectApplyMapper;

    public int deleteByPrimaryKey(Integer id) {
        return projectApplyMapper.deleteByPrimaryKey(id);
    }

    public int insert(ProjectApply record) {
        return projectApplyMapper.insert(record);
    }

    public int insertSelective(ProjectApply record) {
        return projectApplyMapper.insertSelective(record);
    }

    public ProjectApply selectByPrimaryKey(Integer id) {
        return projectApplyMapper.selectByPrimaryKey(id);
    }

    public int updateByPrimaryKeySelective(ProjectApply record) {
        return projectApplyMapper.updateByPrimaryKeySelective(record);
    }

    public int updateByPrimaryKey(ProjectApply record) {
        return projectApplyMapper.updateByPrimaryKey(record);
    }

    public int getTotalCount() {
        return projectApplyMapper.getTotalCount();
    }

    public int getCountByParameterName(String parameterName) {
        return projectApplyMapper.getCountByParameterName(parameterName);
    }

	public List<ProjectApply> selectByPaingAndCondition(Map<String, String> map) {
		return projectApplyMapper.selectByPaingAndCondition(map);
	}

	@Override
	public List<ProjectApplyVO> getProjectApplyByParam(Map<String, String> map) {
		return projectApplyMapper.getProjectApplyByParam(map);
	}

	@Override
	public int getProjectApplyCountByParam(Map<String, String> map) {
		return projectApplyMapper.getProjectApplyCountByParam(map);
	}

	@Override
	public List<ProjectApplyVO> getProjectApplyByExpertId(
			Map<String, String> map) {
		return projectApplyMapper.getProjectApplyByExpertId(map);
	}

	@Override
	public int getProjectApplyCountByExpertId(Map<String, String> map) {
		return projectApplyMapper.getProjectApplyCountByExpertId(map);
	}





    
    



}